﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace AVCare.LMS.Models
{
    [DisplayName("DailyDetail")]
    [Table("SYS_FUNCTION")]
    public class Function
    {
        [Key]
        [Column("FUNCTION_ID")]
        public string ID { get; set; }

        [Column("FUNCTION_NAME")]
        public string Name { get; set; }

        [Column("FUNCTION_PARENTID")]
        public string ParnetID { get; set; }

        [Column("FUNCTION_ISGROUP")]
        public string IsGroup { get; set; }

        [Column("FUNCTION_URL")]
        public string URL { get; set; }

        [Column("FUNCTION_No")]
        public string Order { get; set; }


        public List<RoleFunction> RoleFunctions { get; set; }
    }
}
